// 这里面面封装的是自己的弹窗
function my_alert(object){
    var title = "提示";
    var content_one = "";
    var content_two = "";
    var fun = "";
    console.log($.type(object))
    if($.type(object)=="string"){
        content_one = object;
    }else if($.type(object)=="object"){
        title = object.title;
        content_one = object.content_one;
        content_two = object.content_two;
        fun = object.ok_fun;
    }else{
        $.alert("请查看参数");
    }
    var str = `<div class="mask">
                    <dl class="confirm">
                        <dt class="title">
                            <p>`+title+`</p>
                        </dt>
                        <div class="bom_div">
                            <ul class="list">
                                <li>`+content_one+`</li>
                                <li class="bn">`+content_two+`</li>
                            </ul>
                            <dd class="copy_btn btnactive">确定</dd>
                        </div>
                    </dl>
                </div>`;
    $("body").append(str);
    $(".copy_btn").click(function(){
        fun();
        $(this).parents(".mask").addClass("mask_");
        setTimeout(() => {
            $(this).parents(".mask").remove();
        }, 500);
    })
};
